package campus.aiit.ssl.dao;

import campus.aiit.ssl.domain.model.InstructLog;
import campus.aiit.ssl.manage.custom.dao.BaseDao;

import java.sql.Date;
import java.util.List;
import java.util.Map;

public interface HistoricalInstructionDao extends BaseDao<InstructLog> {
    @Override
    InstructLog selectByPrimaryKey(Long id);

    @Override
    int deleteByPrimaryKey(Long id);

    @Override
    int insertSelective(InstructLog instructLog);

    List<Map<String, Object>> instructLogs(Long SchoolZoneId, Long BuildingId, Long Floor, Long RoomId, Long DeviceId,
                                           String startTime, String endTime);

//    int getTotalData(Long SchoolZoneId, Long BuildingId, Long Floor, Long RoomId, Long DeviceId);
}
